Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add action schema to track wallet and stake events #377

Merged
merged 4 commits into from
Jul 20, 2023

Conversation

hawyar
Copy link
Contributor

@hawyar hawyar commented Jul 20, 2023

I removed the wallet schema and replaced it with action.schema.json to hold the wallet and stake events per our online discussions with @elizyoung0011. Updated CDK analytics script to create the required buckets and tables

I added a$comment field to the analytics schema files. That will make it easier for me to do code gen only on those files.

There is an output bucket but I don't think we are currently using it as the output location of the Athena queries. It is easy to set the output location in the console but I couldn't find a outputLocation or a similar option to pass it to the new glue.Table constructors.

Copy link
Contributor

@shanejearley shanejearley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice. Want to just keep the output bucket? No prob. Are we bumping the data version for this PR? Let's take a quick look at retention policies for Glue database/tables and see if we can't add one to the resources in this PR.

@hawyar
Copy link
Contributor Author

hawyar commented Jul 20, 2023

Yes lets keep the output bucket so the client (whoever callsAthena) can set the query output to that bucket. That works for now

@shanejearley shanejearley merged commit dedfbf1 into develop Jul 20, 2023
@shanejearley shanejearley deleted the update/analytics-schema branch July 20, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants